//
//  ControlTemplateViewTextController.h
//  Uhomebk
//
//  Created by 揭婧雯 on 17/3/3.
//  Copyright © 2017年 com.segi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseTextView.h"

#pragma mark -
#pragma mark 单行文本框控件【text】
@interface ControlTemplateViewTextController:UIViewController<UITextFieldDelegate>
{
    BaseTextView *contentText;
    NSInteger maxString;
    UILabel *msgLabel;
}
+ (ControlTemplateViewTextController *)sharedManagerText;

@property (nonatomic,strong)    UIViewController            *masterVC;
@property (nonatomic,retain)    NSDictionary                *params;
@property (nonatomic,strong)    UIView                      *bgMainView;

@property (nonatomic, strong)   NSString                    *param_id;          /**<控件的paramID*/
@property (nonatomic, strong)   NSString                    *valueStr;          /**<保存控件的值*/
@property (nonatomic, strong)   NSString                    *optional;          /**<是否必填项 0-必填  1-非必填*/

/**
 *  给单行文本控件填充值
 *
 *  @param valueStr 接收字符串值
 */
-(void)paddingTextView:(NSString *)valueStr;

@end
